<?php

namespace app\admin\model;

use think\Model;
use app\admin\model\User;

class BillRecord extends Model
{

    // 表名
    protected $name = 'bill_record';

    public function user(){
        return $this->belongsTo("User",'user_id','id');
    }

}
